Skip to content

Conversation

@Ecordonnier
Copy link
Contributor

@Ecordonnier Ecordonnier commented Nov 26, 2025

forking creates a new PID and it not compatible with GNU coreutils implementation.

  • use exec instead of forking
  • add stdbuf test verifying that no forking happens

Fixes #9066

@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/overlay-headers (passes in this run but fails in the 'main' branch)

@Ecordonnier
Copy link
Contributor Author

The CI errors are unrelated to my branch.

@oech3

This comment was marked as resolved.

forking creates a new PID and it not compatible with GNU coreutils implementation.

Fixes uutils#9066

Signed-off-by: Etienne Cordonnier <[email protected]>
@Ecordonnier Ecordonnier force-pushed the eco/stdbuf-exec-instead-of-fork branch from de2b66c to 0110357 Compare December 1, 2025 12:50
@github-actions
Copy link

github-actions bot commented Dec 1, 2025

GNU testsuite comparison:

Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)

@codspeed-hq
Copy link

codspeed-hq bot commented Dec 3, 2025

CodSpeed Performance Report

Merging #9495 will not alter performance

Comparing Ecordonnier:eco/stdbuf-exec-instead-of-fork (4c557bf) with main (0f5ab81)

Summary

✅ 126 untouched
⏩ 6 skipped1

Footnotes

  1. 6 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

GNU testsuite comparison:

Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)

@Ecordonnier Ecordonnier force-pushed the eco/stdbuf-exec-instead-of-fork branch from 0d7529b to 4c557bf Compare December 3, 2025 13:21
@github-actions
Copy link

github-actions bot commented Dec 3, 2025

GNU testsuite comparison:

Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)

@Ecordonnier
Copy link
Contributor Author

This is ready for review. I don't intend to work on this branch any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stdbuf implementation via spawning is incompatible with coreutils

2 participants